import request from '@/utils/request'
import { getToken } from '@/utils/auth'
export default {
    getSysLoglist(page_num, page_size) {
        return request({
            url: `/sysOpeLog/listPage?page_num=${page_num}&page_size=${page_size}`,
            method: 'GET',
        })
    },
    getLoginUserInfo(data) {
        return request({
            url: `/user/getLoginUserInfo`,
            method: 'GET',
            headers: {
                'Authorization': getToken()
            }
        })
    }
}
